module gw_gao(
    P9_LATCH,
    P18_EE,
    P19_EM,
    P20_SYNC,
    P22_RED,
    \laser_ctrl/red_ctrl ,
    \laser_ctrl/opt_st[3] ,
    \laser_ctrl/opt_st[2] ,
    \laser_ctrl/opt_st[1] ,
    \laser_ctrl/opt_st[0] ,
    \laser_ctrl/red_sw ,
    \laser_ctrl/RED_out ,
    P23_ESTOP,
    BLUE_PWM,
    BLUE_SW,
    BLUE_PWR_SEL,
    \laser_ctrl/laser_en ,
    \laser_ctrl/laser_sw ,
    \laser_ctrl/blue_sw ,
    \laser_ctrl/blue_en ,
    \laser_ctrl/ready ,
    \laser_ctrl/alarm_flag ,
    \laser_ctrl/pwm_detect_inst/dividend[29] ,
    \laser_ctrl/pwm_detect_inst/dividend[28] ,
    \laser_ctrl/pwm_detect_inst/dividend[27] ,
    \laser_ctrl/pwm_detect_inst/dividend[26] ,
    \laser_ctrl/pwm_detect_inst/dividend[25] ,
    \laser_ctrl/pwm_detect_inst/dividend[24] ,
    \laser_ctrl/pwm_detect_inst/dividend[23] ,
    \laser_ctrl/pwm_detect_inst/dividend[22] ,
    \laser_ctrl/pwm_detect_inst/dividend[21] ,
    \laser_ctrl/pwm_detect_inst/dividend[20] ,
    \laser_ctrl/pwm_detect_inst/dividend[19] ,
    \laser_ctrl/pwm_detect_inst/dividend[18] ,
    \laser_ctrl/pwm_detect_inst/dividend[17] ,
    \laser_ctrl/pwm_detect_inst/dividend[16] ,
    \laser_ctrl/pwm_detect_inst/dividend[15] ,
    \laser_ctrl/pwm_detect_inst/dividend[14] ,
    \laser_ctrl/pwm_detect_inst/dividend[13] ,
    \laser_ctrl/pwm_detect_inst/dividend[12] ,
    \laser_ctrl/pwm_detect_inst/dividend[11] ,
    \laser_ctrl/pwm_detect_inst/dividend[10] ,
    \laser_ctrl/pwm_detect_inst/dividend[9] ,
    \laser_ctrl/pwm_detect_inst/dividend[8] ,
    \laser_ctrl/pwm_detect_inst/dividend[7] ,
    \laser_ctrl/pwm_detect_inst/dividend[6] ,
    \laser_ctrl/pwm_detect_inst/dividend[5] ,
    \laser_ctrl/pwm_detect_inst/dividend[4] ,
    \laser_ctrl/pwm_detect_inst/dividend[3] ,
    \laser_ctrl/pwm_detect_inst/dividend[2] ,
    \laser_ctrl/pwm_detect_inst/dividend[1] ,
    \laser_ctrl/pwm_detect_inst/dividend[0] ,
    \laser_ctrl/pwm_detect_inst/divisor[29] ,
    \laser_ctrl/pwm_detect_inst/divisor[28] ,
    \laser_ctrl/pwm_detect_inst/divisor[27] ,
    \laser_ctrl/pwm_detect_inst/divisor[26] ,
    \laser_ctrl/pwm_detect_inst/divisor[25] ,
    \laser_ctrl/pwm_detect_inst/divisor[24] ,
    \laser_ctrl/pwm_detect_inst/divisor[23] ,
    \laser_ctrl/pwm_detect_inst/divisor[22] ,
    \laser_ctrl/pwm_detect_inst/divisor[21] ,
    \laser_ctrl/pwm_detect_inst/divisor[20] ,
    \laser_ctrl/pwm_detect_inst/divisor[19] ,
    \laser_ctrl/pwm_detect_inst/divisor[18] ,
    \laser_ctrl/pwm_detect_inst/divisor[17] ,
    \laser_ctrl/pwm_detect_inst/divisor[16] ,
    \laser_ctrl/pwm_detect_inst/divisor[15] ,
    \laser_ctrl/pwm_detect_inst/divisor[14] ,
    \laser_ctrl/pwm_detect_inst/divisor[13] ,
    \laser_ctrl/pwm_detect_inst/divisor[12] ,
    \laser_ctrl/pwm_detect_inst/divisor[11] ,
    \laser_ctrl/pwm_detect_inst/divisor[10] ,
    \laser_ctrl/pwm_detect_inst/divisor[9] ,
    \laser_ctrl/pwm_detect_inst/divisor[8] ,
    \laser_ctrl/pwm_detect_inst/divisor[7] ,
    \laser_ctrl/pwm_detect_inst/divisor[6] ,
    \laser_ctrl/pwm_detect_inst/divisor[5] ,
    \laser_ctrl/pwm_detect_inst/divisor[4] ,
    \laser_ctrl/pwm_detect_inst/divisor[3] ,
    \laser_ctrl/pwm_detect_inst/divisor[2] ,
    \laser_ctrl/pwm_detect_inst/divisor[1] ,
    \laser_ctrl/pwm_detect_inst/divisor[0] ,
    \laser_ctrl/pwm_detect_inst/quotient[29] ,
    \laser_ctrl/pwm_detect_inst/quotient[28] ,
    \laser_ctrl/pwm_detect_inst/quotient[27] ,
    \laser_ctrl/pwm_detect_inst/quotient[26] ,
    \laser_ctrl/pwm_detect_inst/quotient[25] ,
    \laser_ctrl/pwm_detect_inst/quotient[24] ,
    \laser_ctrl/pwm_detect_inst/quotient[23] ,
    \laser_ctrl/pwm_detect_inst/quotient[22] ,
    \laser_ctrl/pwm_detect_inst/quotient[21] ,
    \laser_ctrl/pwm_detect_inst/quotient[20] ,
    \laser_ctrl/pwm_detect_inst/quotient[19] ,
    \laser_ctrl/pwm_detect_inst/quotient[18] ,
    \laser_ctrl/pwm_detect_inst/quotient[17] ,
    \laser_ctrl/pwm_detect_inst/quotient[16] ,
    \laser_ctrl/pwm_detect_inst/quotient[15] ,
    \laser_ctrl/pwm_detect_inst/quotient[14] ,
    \laser_ctrl/pwm_detect_inst/quotient[13] ,
    \laser_ctrl/pwm_detect_inst/quotient[12] ,
    \laser_ctrl/pwm_detect_inst/quotient[11] ,
    \laser_ctrl/pwm_detect_inst/quotient[10] ,
    \laser_ctrl/pwm_detect_inst/quotient[9] ,
    \laser_ctrl/pwm_detect_inst/quotient[8] ,
    \laser_ctrl/pwm_detect_inst/quotient[7] ,
    \laser_ctrl/pwm_detect_inst/quotient[6] ,
    \laser_ctrl/pwm_detect_inst/quotient[5] ,
    \laser_ctrl/pwm_detect_inst/quotient[4] ,
    \laser_ctrl/pwm_detect_inst/quotient[3] ,
    \laser_ctrl/pwm_detect_inst/quotient[2] ,
    \laser_ctrl/pwm_detect_inst/quotient[1] ,
    \laser_ctrl/pwm_detect_inst/quotient[0] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[13] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[12] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[11] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[10] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[9] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[8] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[7] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[6] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[5] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[4] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[3] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[2] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[1] ,
    \laser_ctrl/pwm_detect_inst/pwr_out[0] ,
    \laser_ctrl/blue_pwr[13] ,
    \laser_ctrl/blue_pwr[12] ,
    \laser_ctrl/blue_pwr[11] ,
    \laser_ctrl/blue_pwr[10] ,
    \laser_ctrl/blue_pwr[9] ,
    \laser_ctrl/blue_pwr[8] ,
    \laser_ctrl/blue_pwr[7] ,
    \laser_ctrl/blue_pwr[6] ,
    \laser_ctrl/blue_pwr[5] ,
    \laser_ctrl/blue_pwr[4] ,
    \laser_ctrl/blue_pwr[3] ,
    \laser_ctrl/blue_pwr[2] ,
    \laser_ctrl/blue_pwr[1] ,
    \laser_ctrl/blue_pwr[0] ,
    PD_ALARM,
    \laser_ctrl/pd_alarm ,
    TEMP_ALARM,
    \laser_ctrl/temp_alarm ,
    VOLT_ALARM,
    \laser_ctrl/alarm_ctrl/volt_alarm ,
    rst_n,
    sys_clk,
    tms_pad_i,
    tck_pad_i,
    tdi_pad_i,
    tdo_pad_o
);

input P9_LATCH;
input P18_EE;
input P19_EM;
input P20_SYNC;
input P22_RED;
input \laser_ctrl/red_ctrl ;
input \laser_ctrl/opt_st[3] ;
input \laser_ctrl/opt_st[2] ;
input \laser_ctrl/opt_st[1] ;
input \laser_ctrl/opt_st[0] ;
input \laser_ctrl/red_sw ;
input \laser_ctrl/RED_out ;
input P23_ESTOP;
input BLUE_PWM;
input BLUE_SW;
input BLUE_PWR_SEL;
input \laser_ctrl/laser_en ;
input \laser_ctrl/laser_sw ;
input \laser_ctrl/blue_sw ;
input \laser_ctrl/blue_en ;
input \laser_ctrl/ready ;
input \laser_ctrl/alarm_flag ;
input \laser_ctrl/pwm_detect_inst/dividend[29] ;
input \laser_ctrl/pwm_detect_inst/dividend[28] ;
input \laser_ctrl/pwm_detect_inst/dividend[27] ;
input \laser_ctrl/pwm_detect_inst/dividend[26] ;
input \laser_ctrl/pwm_detect_inst/dividend[25] ;
input \laser_ctrl/pwm_detect_inst/dividend[24] ;
input \laser_ctrl/pwm_detect_inst/dividend[23] ;
input \laser_ctrl/pwm_detect_inst/dividend[22] ;
input \laser_ctrl/pwm_detect_inst/dividend[21] ;
input \laser_ctrl/pwm_detect_inst/dividend[20] ;
input \laser_ctrl/pwm_detect_inst/dividend[19] ;
input \laser_ctrl/pwm_detect_inst/dividend[18] ;
input \laser_ctrl/pwm_detect_inst/dividend[17] ;
input \laser_ctrl/pwm_detect_inst/dividend[16] ;
input \laser_ctrl/pwm_detect_inst/dividend[15] ;
input \laser_ctrl/pwm_detect_inst/dividend[14] ;
input \laser_ctrl/pwm_detect_inst/dividend[13] ;
input \laser_ctrl/pwm_detect_inst/dividend[12] ;
input \laser_ctrl/pwm_detect_inst/dividend[11] ;
input \laser_ctrl/pwm_detect_inst/dividend[10] ;
input \laser_ctrl/pwm_detect_inst/dividend[9] ;
input \laser_ctrl/pwm_detect_inst/dividend[8] ;
input \laser_ctrl/pwm_detect_inst/dividend[7] ;
input \laser_ctrl/pwm_detect_inst/dividend[6] ;
input \laser_ctrl/pwm_detect_inst/dividend[5] ;
input \laser_ctrl/pwm_detect_inst/dividend[4] ;
input \laser_ctrl/pwm_detect_inst/dividend[3] ;
input \laser_ctrl/pwm_detect_inst/dividend[2] ;
input \laser_ctrl/pwm_detect_inst/dividend[1] ;
input \laser_ctrl/pwm_detect_inst/dividend[0] ;
input \laser_ctrl/pwm_detect_inst/divisor[29] ;
input \laser_ctrl/pwm_detect_inst/divisor[28] ;
input \laser_ctrl/pwm_detect_inst/divisor[27] ;
input \laser_ctrl/pwm_detect_inst/divisor[26] ;
input \laser_ctrl/pwm_detect_inst/divisor[25] ;
input \laser_ctrl/pwm_detect_inst/divisor[24] ;
input \laser_ctrl/pwm_detect_inst/divisor[23] ;
input \laser_ctrl/pwm_detect_inst/divisor[22] ;
input \laser_ctrl/pwm_detect_inst/divisor[21] ;
input \laser_ctrl/pwm_detect_inst/divisor[20] ;
input \laser_ctrl/pwm_detect_inst/divisor[19] ;
input \laser_ctrl/pwm_detect_inst/divisor[18] ;
input \laser_ctrl/pwm_detect_inst/divisor[17] ;
input \laser_ctrl/pwm_detect_inst/divisor[16] ;
input \laser_ctrl/pwm_detect_inst/divisor[15] ;
input \laser_ctrl/pwm_detect_inst/divisor[14] ;
input \laser_ctrl/pwm_detect_inst/divisor[13] ;
input \laser_ctrl/pwm_detect_inst/divisor[12] ;
input \laser_ctrl/pwm_detect_inst/divisor[11] ;
input \laser_ctrl/pwm_detect_inst/divisor[10] ;
input \laser_ctrl/pwm_detect_inst/divisor[9] ;
input \laser_ctrl/pwm_detect_inst/divisor[8] ;
input \laser_ctrl/pwm_detect_inst/divisor[7] ;
input \laser_ctrl/pwm_detect_inst/divisor[6] ;
input \laser_ctrl/pwm_detect_inst/divisor[5] ;
input \laser_ctrl/pwm_detect_inst/divisor[4] ;
input \laser_ctrl/pwm_detect_inst/divisor[3] ;
input \laser_ctrl/pwm_detect_inst/divisor[2] ;
input \laser_ctrl/pwm_detect_inst/divisor[1] ;
input \laser_ctrl/pwm_detect_inst/divisor[0] ;
input \laser_ctrl/pwm_detect_inst/quotient[29] ;
input \laser_ctrl/pwm_detect_inst/quotient[28] ;
input \laser_ctrl/pwm_detect_inst/quotient[27] ;
input \laser_ctrl/pwm_detect_inst/quotient[26] ;
input \laser_ctrl/pwm_detect_inst/quotient[25] ;
input \laser_ctrl/pwm_detect_inst/quotient[24] ;
input \laser_ctrl/pwm_detect_inst/quotient[23] ;
input \laser_ctrl/pwm_detect_inst/quotient[22] ;
input \laser_ctrl/pwm_detect_inst/quotient[21] ;
input \laser_ctrl/pwm_detect_inst/quotient[20] ;
input \laser_ctrl/pwm_detect_inst/quotient[19] ;
input \laser_ctrl/pwm_detect_inst/quotient[18] ;
input \laser_ctrl/pwm_detect_inst/quotient[17] ;
input \laser_ctrl/pwm_detect_inst/quotient[16] ;
input \laser_ctrl/pwm_detect_inst/quotient[15] ;
input \laser_ctrl/pwm_detect_inst/quotient[14] ;
input \laser_ctrl/pwm_detect_inst/quotient[13] ;
input \laser_ctrl/pwm_detect_inst/quotient[12] ;
input \laser_ctrl/pwm_detect_inst/quotient[11] ;
input \laser_ctrl/pwm_detect_inst/quotient[10] ;
input \laser_ctrl/pwm_detect_inst/quotient[9] ;
input \laser_ctrl/pwm_detect_inst/quotient[8] ;
input \laser_ctrl/pwm_detect_inst/quotient[7] ;
input \laser_ctrl/pwm_detect_inst/quotient[6] ;
input \laser_ctrl/pwm_detect_inst/quotient[5] ;
input \laser_ctrl/pwm_detect_inst/quotient[4] ;
input \laser_ctrl/pwm_detect_inst/quotient[3] ;
input \laser_ctrl/pwm_detect_inst/quotient[2] ;
input \laser_ctrl/pwm_detect_inst/quotient[1] ;
input \laser_ctrl/pwm_detect_inst/quotient[0] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[13] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[12] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[11] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[10] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[9] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[8] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[7] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[6] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[5] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[4] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[3] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[2] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[1] ;
input \laser_ctrl/pwm_detect_inst/pwr_out[0] ;
input \laser_ctrl/blue_pwr[13] ;
input \laser_ctrl/blue_pwr[12] ;
input \laser_ctrl/blue_pwr[11] ;
input \laser_ctrl/blue_pwr[10] ;
input \laser_ctrl/blue_pwr[9] ;
input \laser_ctrl/blue_pwr[8] ;
input \laser_ctrl/blue_pwr[7] ;
input \laser_ctrl/blue_pwr[6] ;
input \laser_ctrl/blue_pwr[5] ;
input \laser_ctrl/blue_pwr[4] ;
input \laser_ctrl/blue_pwr[3] ;
input \laser_ctrl/blue_pwr[2] ;
input \laser_ctrl/blue_pwr[1] ;
input \laser_ctrl/blue_pwr[0] ;
input PD_ALARM;
input \laser_ctrl/pd_alarm ;
input TEMP_ALARM;
input \laser_ctrl/temp_alarm ;
input VOLT_ALARM;
input \laser_ctrl/alarm_ctrl/volt_alarm ;
input rst_n;
input sys_clk;
input tms_pad_i;
input tck_pad_i;
input tdi_pad_i;
output tdo_pad_o;

wire P9_LATCH;
wire P18_EE;
wire P19_EM;
wire P20_SYNC;
wire P22_RED;
wire \laser_ctrl/red_ctrl ;
wire \laser_ctrl/opt_st[3] ;
wire \laser_ctrl/opt_st[2] ;
wire \laser_ctrl/opt_st[1] ;
wire \laser_ctrl/opt_st[0] ;
wire \laser_ctrl/red_sw ;
wire \laser_ctrl/RED_out ;
wire P23_ESTOP;
wire BLUE_PWM;
wire BLUE_SW;
wire BLUE_PWR_SEL;
wire \laser_ctrl/laser_en ;
wire \laser_ctrl/laser_sw ;
wire \laser_ctrl/blue_sw ;
wire \laser_ctrl/blue_en ;
wire \laser_ctrl/ready ;
wire \laser_ctrl/alarm_flag ;
wire \laser_ctrl/pwm_detect_inst/dividend[29] ;
wire \laser_ctrl/pwm_detect_inst/dividend[28] ;
wire \laser_ctrl/pwm_detect_inst/dividend[27] ;
wire \laser_ctrl/pwm_detect_inst/dividend[26] ;
wire \laser_ctrl/pwm_detect_inst/dividend[25] ;
wire \laser_ctrl/pwm_detect_inst/dividend[24] ;
wire \laser_ctrl/pwm_detect_inst/dividend[23] ;
wire \laser_ctrl/pwm_detect_inst/dividend[22] ;
wire \laser_ctrl/pwm_detect_inst/dividend[21] ;
wire \laser_ctrl/pwm_detect_inst/dividend[20] ;
wire \laser_ctrl/pwm_detect_inst/dividend[19] ;
wire \laser_ctrl/pwm_detect_inst/dividend[18] ;
wire \laser_ctrl/pwm_detect_inst/dividend[17] ;
wire \laser_ctrl/pwm_detect_inst/dividend[16] ;
wire \laser_ctrl/pwm_detect_inst/dividend[15] ;
wire \laser_ctrl/pwm_detect_inst/dividend[14] ;
wire \laser_ctrl/pwm_detect_inst/dividend[13] ;
wire \laser_ctrl/pwm_detect_inst/dividend[12] ;
wire \laser_ctrl/pwm_detect_inst/dividend[11] ;
wire \laser_ctrl/pwm_detect_inst/dividend[10] ;
wire \laser_ctrl/pwm_detect_inst/dividend[9] ;
wire \laser_ctrl/pwm_detect_inst/dividend[8] ;
wire \laser_ctrl/pwm_detect_inst/dividend[7] ;
wire \laser_ctrl/pwm_detect_inst/dividend[6] ;
wire \laser_ctrl/pwm_detect_inst/dividend[5] ;
wire \laser_ctrl/pwm_detect_inst/dividend[4] ;
wire \laser_ctrl/pwm_detect_inst/dividend[3] ;
wire \laser_ctrl/pwm_detect_inst/dividend[2] ;
wire \laser_ctrl/pwm_detect_inst/dividend[1] ;
wire \laser_ctrl/pwm_detect_inst/dividend[0] ;
wire \laser_ctrl/pwm_detect_inst/divisor[29] ;
wire \laser_ctrl/pwm_detect_inst/divisor[28] ;
wire \laser_ctrl/pwm_detect_inst/divisor[27] ;
wire \laser_ctrl/pwm_detect_inst/divisor[26] ;
wire \laser_ctrl/pwm_detect_inst/divisor[25] ;
wire \laser_ctrl/pwm_detect_inst/divisor[24] ;
wire \laser_ctrl/pwm_detect_inst/divisor[23] ;
wire \laser_ctrl/pwm_detect_inst/divisor[22] ;
wire \laser_ctrl/pwm_detect_inst/divisor[21] ;
wire \laser_ctrl/pwm_detect_inst/divisor[20] ;
wire \laser_ctrl/pwm_detect_inst/divisor[19] ;
wire \laser_ctrl/pwm_detect_inst/divisor[18] ;
wire \laser_ctrl/pwm_detect_inst/divisor[17] ;
wire \laser_ctrl/pwm_detect_inst/divisor[16] ;
wire \laser_ctrl/pwm_detect_inst/divisor[15] ;
wire \laser_ctrl/pwm_detect_inst/divisor[14] ;
wire \laser_ctrl/pwm_detect_inst/divisor[13] ;
wire \laser_ctrl/pwm_detect_inst/divisor[12] ;
wire \laser_ctrl/pwm_detect_inst/divisor[11] ;
wire \laser_ctrl/pwm_detect_inst/divisor[10] ;
wire \laser_ctrl/pwm_detect_inst/divisor[9] ;
wire \laser_ctrl/pwm_detect_inst/divisor[8] ;
wire \laser_ctrl/pwm_detect_inst/divisor[7] ;
wire \laser_ctrl/pwm_detect_inst/divisor[6] ;
wire \laser_ctrl/pwm_detect_inst/divisor[5] ;
wire \laser_ctrl/pwm_detect_inst/divisor[4] ;
wire \laser_ctrl/pwm_detect_inst/divisor[3] ;
wire \laser_ctrl/pwm_detect_inst/divisor[2] ;
wire \laser_ctrl/pwm_detect_inst/divisor[1] ;
wire \laser_ctrl/pwm_detect_inst/divisor[0] ;
wire \laser_ctrl/pwm_detect_inst/quotient[29] ;
wire \laser_ctrl/pwm_detect_inst/quotient[28] ;
wire \laser_ctrl/pwm_detect_inst/quotient[27] ;
wire \laser_ctrl/pwm_detect_inst/quotient[26] ;
wire \laser_ctrl/pwm_detect_inst/quotient[25] ;
wire \laser_ctrl/pwm_detect_inst/quotient[24] ;
wire \laser_ctrl/pwm_detect_inst/quotient[23] ;
wire \laser_ctrl/pwm_detect_inst/quotient[22] ;
wire \laser_ctrl/pwm_detect_inst/quotient[21] ;
wire \laser_ctrl/pwm_detect_inst/quotient[20] ;
wire \laser_ctrl/pwm_detect_inst/quotient[19] ;
wire \laser_ctrl/pwm_detect_inst/quotient[18] ;
wire \laser_ctrl/pwm_detect_inst/quotient[17] ;
wire \laser_ctrl/pwm_detect_inst/quotient[16] ;
wire \laser_ctrl/pwm_detect_inst/quotient[15] ;
wire \laser_ctrl/pwm_detect_inst/quotient[14] ;
wire \laser_ctrl/pwm_detect_inst/quotient[13] ;
wire \laser_ctrl/pwm_detect_inst/quotient[12] ;
wire \laser_ctrl/pwm_detect_inst/quotient[11] ;
wire \laser_ctrl/pwm_detect_inst/quotient[10] ;
wire \laser_ctrl/pwm_detect_inst/quotient[9] ;
wire \laser_ctrl/pwm_detect_inst/quotient[8] ;
wire \laser_ctrl/pwm_detect_inst/quotient[7] ;
wire \laser_ctrl/pwm_detect_inst/quotient[6] ;
wire \laser_ctrl/pwm_detect_inst/quotient[5] ;
wire \laser_ctrl/pwm_detect_inst/quotient[4] ;
wire \laser_ctrl/pwm_detect_inst/quotient[3] ;
wire \laser_ctrl/pwm_detect_inst/quotient[2] ;
wire \laser_ctrl/pwm_detect_inst/quotient[1] ;
wire \laser_ctrl/pwm_detect_inst/quotient[0] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[13] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[12] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[11] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[10] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[9] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[8] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[7] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[6] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[5] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[4] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[3] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[2] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[1] ;
wire \laser_ctrl/pwm_detect_inst/pwr_out[0] ;
wire \laser_ctrl/blue_pwr[13] ;
wire \laser_ctrl/blue_pwr[12] ;
wire \laser_ctrl/blue_pwr[11] ;
wire \laser_ctrl/blue_pwr[10] ;
wire \laser_ctrl/blue_pwr[9] ;
wire \laser_ctrl/blue_pwr[8] ;
wire \laser_ctrl/blue_pwr[7] ;
wire \laser_ctrl/blue_pwr[6] ;
wire \laser_ctrl/blue_pwr[5] ;
wire \laser_ctrl/blue_pwr[4] ;
wire \laser_ctrl/blue_pwr[3] ;
wire \laser_ctrl/blue_pwr[2] ;
wire \laser_ctrl/blue_pwr[1] ;
wire \laser_ctrl/blue_pwr[0] ;
wire PD_ALARM;
wire \laser_ctrl/pd_alarm ;
wire TEMP_ALARM;
wire \laser_ctrl/temp_alarm ;
wire VOLT_ALARM;
wire \laser_ctrl/alarm_ctrl/volt_alarm ;
wire rst_n;
wire sys_clk;
wire tms_pad_i;
wire tck_pad_i;
wire tdi_pad_i;
wire tdo_pad_o;
wire tms_i_c;
wire tck_i_c;
wire tdi_i_c;
wire tdo_o_c;
wire [9:0] control0;
wire gao_jtag_tck;
wire gao_jtag_reset;
wire run_test_idle_er1;
wire run_test_idle_er2;
wire shift_dr_capture_dr;
wire update_dr;
wire pause_dr;
wire enable_er1;
wire enable_er2;
wire gao_jtag_tdi;
wire tdo_er1;

IBUF tms_ibuf (
    .I(tms_pad_i),
    .O(tms_i_c)
);

IBUF tck_ibuf (
    .I(tck_pad_i),
    .O(tck_i_c)
);

IBUF tdi_ibuf (
    .I(tdi_pad_i),
    .O(tdi_i_c)
);

OBUF tdo_obuf (
    .I(tdo_o_c),
    .O(tdo_pad_o)
);

GW_JTAG  u_gw_jtag(
    .tms_pad_i(tms_i_c),
    .tck_pad_i(tck_i_c),
    .tdi_pad_i(tdi_i_c),
    .tdo_pad_o(tdo_o_c),
    .tck_o(gao_jtag_tck),
    .test_logic_reset_o(gao_jtag_reset),
    .run_test_idle_er1_o(run_test_idle_er1),
    .run_test_idle_er2_o(run_test_idle_er2),
    .shift_dr_capture_dr_o(shift_dr_capture_dr),
    .update_dr_o(update_dr),
    .pause_dr_o(pause_dr),
    .enable_er1_o(enable_er1),
    .enable_er2_o(enable_er2),
    .tdi_o(gao_jtag_tdi),
    .tdo_er1_i(tdo_er1),
    .tdo_er2_i(1'b0)
);

gw_con_top  u_icon_top(
    .tck_i(gao_jtag_tck),
    .tdi_i(gao_jtag_tdi),
    .tdo_o(tdo_er1),
    .rst_i(gao_jtag_reset),
    .control0(control0[9:0]),
    .enable_i(enable_er1),
    .shift_dr_capture_dr_i(shift_dr_capture_dr),
    .update_dr_i(update_dr)
);

ao_top_0  u_la0_top(
    .control(control0[9:0]),
    .trig0_i(rst_n),
    .data_i({P9_LATCH,P18_EE,P19_EM,P20_SYNC,P22_RED,\laser_ctrl/red_ctrl ,\laser_ctrl/opt_st[3] ,\laser_ctrl/opt_st[2] ,\laser_ctrl/opt_st[1] ,\laser_ctrl/opt_st[0] ,\laser_ctrl/red_sw ,\laser_ctrl/RED_out ,P23_ESTOP,BLUE_PWM,BLUE_SW,BLUE_PWR_SEL,\laser_ctrl/laser_en ,\laser_ctrl/laser_sw ,\laser_ctrl/blue_sw ,\laser_ctrl/blue_en ,\laser_ctrl/ready ,\laser_ctrl/alarm_flag ,\laser_ctrl/pwm_detect_inst/dividend[29] ,\laser_ctrl/pwm_detect_inst/dividend[28] ,\laser_ctrl/pwm_detect_inst/dividend[27] ,\laser_ctrl/pwm_detect_inst/dividend[26] ,\laser_ctrl/pwm_detect_inst/dividend[25] ,\laser_ctrl/pwm_detect_inst/dividend[24] ,\laser_ctrl/pwm_detect_inst/dividend[23] ,\laser_ctrl/pwm_detect_inst/dividend[22] ,\laser_ctrl/pwm_detect_inst/dividend[21] ,\laser_ctrl/pwm_detect_inst/dividend[20] ,\laser_ctrl/pwm_detect_inst/dividend[19] ,\laser_ctrl/pwm_detect_inst/dividend[18] ,\laser_ctrl/pwm_detect_inst/dividend[17] ,\laser_ctrl/pwm_detect_inst/dividend[16] ,\laser_ctrl/pwm_detect_inst/dividend[15] ,\laser_ctrl/pwm_detect_inst/dividend[14] ,\laser_ctrl/pwm_detect_inst/dividend[13] ,\laser_ctrl/pwm_detect_inst/dividend[12] ,\laser_ctrl/pwm_detect_inst/dividend[11] ,\laser_ctrl/pwm_detect_inst/dividend[10] ,\laser_ctrl/pwm_detect_inst/dividend[9] ,\laser_ctrl/pwm_detect_inst/dividend[8] ,\laser_ctrl/pwm_detect_inst/dividend[7] ,\laser_ctrl/pwm_detect_inst/dividend[6] ,\laser_ctrl/pwm_detect_inst/dividend[5] ,\laser_ctrl/pwm_detect_inst/dividend[4] ,\laser_ctrl/pwm_detect_inst/dividend[3] ,\laser_ctrl/pwm_detect_inst/dividend[2] ,\laser_ctrl/pwm_detect_inst/dividend[1] ,\laser_ctrl/pwm_detect_inst/dividend[0] ,\laser_ctrl/pwm_detect_inst/divisor[29] ,\laser_ctrl/pwm_detect_inst/divisor[28] ,\laser_ctrl/pwm_detect_inst/divisor[27] ,\laser_ctrl/pwm_detect_inst/divisor[26] ,\laser_ctrl/pwm_detect_inst/divisor[25] ,\laser_ctrl/pwm_detect_inst/divisor[24] ,\laser_ctrl/pwm_detect_inst/divisor[23] ,\laser_ctrl/pwm_detect_inst/divisor[22] ,\laser_ctrl/pwm_detect_inst/divisor[21] ,\laser_ctrl/pwm_detect_inst/divisor[20] ,\laser_ctrl/pwm_detect_inst/divisor[19] ,\laser_ctrl/pwm_detect_inst/divisor[18] ,\laser_ctrl/pwm_detect_inst/divisor[17] ,\laser_ctrl/pwm_detect_inst/divisor[16] ,\laser_ctrl/pwm_detect_inst/divisor[15] ,\laser_ctrl/pwm_detect_inst/divisor[14] ,\laser_ctrl/pwm_detect_inst/divisor[13] ,\laser_ctrl/pwm_detect_inst/divisor[12] ,\laser_ctrl/pwm_detect_inst/divisor[11] ,\laser_ctrl/pwm_detect_inst/divisor[10] ,\laser_ctrl/pwm_detect_inst/divisor[9] ,\laser_ctrl/pwm_detect_inst/divisor[8] ,\laser_ctrl/pwm_detect_inst/divisor[7] ,\laser_ctrl/pwm_detect_inst/divisor[6] ,\laser_ctrl/pwm_detect_inst/divisor[5] ,\laser_ctrl/pwm_detect_inst/divisor[4] ,\laser_ctrl/pwm_detect_inst/divisor[3] ,\laser_ctrl/pwm_detect_inst/divisor[2] ,\laser_ctrl/pwm_detect_inst/divisor[1] ,\laser_ctrl/pwm_detect_inst/divisor[0] ,\laser_ctrl/pwm_detect_inst/quotient[29] ,\laser_ctrl/pwm_detect_inst/quotient[28] ,\laser_ctrl/pwm_detect_inst/quotient[27] ,\laser_ctrl/pwm_detect_inst/quotient[26] ,\laser_ctrl/pwm_detect_inst/quotient[25] ,\laser_ctrl/pwm_detect_inst/quotient[24] ,\laser_ctrl/pwm_detect_inst/quotient[23] ,\laser_ctrl/pwm_detect_inst/quotient[22] ,\laser_ctrl/pwm_detect_inst/quotient[21] ,\laser_ctrl/pwm_detect_inst/quotient[20] ,\laser_ctrl/pwm_detect_inst/quotient[19] ,\laser_ctrl/pwm_detect_inst/quotient[18] ,\laser_ctrl/pwm_detect_inst/quotient[17] ,\laser_ctrl/pwm_detect_inst/quotient[16] ,\laser_ctrl/pwm_detect_inst/quotient[15] ,\laser_ctrl/pwm_detect_inst/quotient[14] ,\laser_ctrl/pwm_detect_inst/quotient[13] ,\laser_ctrl/pwm_detect_inst/quotient[12] ,\laser_ctrl/pwm_detect_inst/quotient[11] ,\laser_ctrl/pwm_detect_inst/quotient[10] ,\laser_ctrl/pwm_detect_inst/quotient[9] ,\laser_ctrl/pwm_detect_inst/quotient[8] ,\laser_ctrl/pwm_detect_inst/quotient[7] ,\laser_ctrl/pwm_detect_inst/quotient[6] ,\laser_ctrl/pwm_detect_inst/quotient[5] ,\laser_ctrl/pwm_detect_inst/quotient[4] ,\laser_ctrl/pwm_detect_inst/quotient[3] ,\laser_ctrl/pwm_detect_inst/quotient[2] ,\laser_ctrl/pwm_detect_inst/quotient[1] ,\laser_ctrl/pwm_detect_inst/quotient[0] ,\laser_ctrl/pwm_detect_inst/pwr_out[13] ,\laser_ctrl/pwm_detect_inst/pwr_out[12] ,\laser_ctrl/pwm_detect_inst/pwr_out[11] ,\laser_ctrl/pwm_detect_inst/pwr_out[10] ,\laser_ctrl/pwm_detect_inst/pwr_out[9] ,\laser_ctrl/pwm_detect_inst/pwr_out[8] ,\laser_ctrl/pwm_detect_inst/pwr_out[7] ,\laser_ctrl/pwm_detect_inst/pwr_out[6] ,\laser_ctrl/pwm_detect_inst/pwr_out[5] ,\laser_ctrl/pwm_detect_inst/pwr_out[4] ,\laser_ctrl/pwm_detect_inst/pwr_out[3] ,\laser_ctrl/pwm_detect_inst/pwr_out[2] ,\laser_ctrl/pwm_detect_inst/pwr_out[1] ,\laser_ctrl/pwm_detect_inst/pwr_out[0] ,\laser_ctrl/blue_pwr[13] ,\laser_ctrl/blue_pwr[12] ,\laser_ctrl/blue_pwr[11] ,\laser_ctrl/blue_pwr[10] ,\laser_ctrl/blue_pwr[9] ,\laser_ctrl/blue_pwr[8] ,\laser_ctrl/blue_pwr[7] ,\laser_ctrl/blue_pwr[6] ,\laser_ctrl/blue_pwr[5] ,\laser_ctrl/blue_pwr[4] ,\laser_ctrl/blue_pwr[3] ,\laser_ctrl/blue_pwr[2] ,\laser_ctrl/blue_pwr[1] ,\laser_ctrl/blue_pwr[0] ,PD_ALARM,\laser_ctrl/pd_alarm ,TEMP_ALARM,\laser_ctrl/temp_alarm ,VOLT_ALARM,\laser_ctrl/alarm_ctrl/volt_alarm }),
    .clk_i(sys_clk)
);

endmodule
